import requests
requests = requests.get('https://www.baidu.com')
print(requests.status_code)
print(requests.encoding)
print(requests.text)
print(requests.content)